package com.yxjx.duoxue.course.datamodel;

import com.yxjx.duoxue.datamodel.DMObject;

/**
 * 广告列表(预留)
 * 
 * @author zhangxs
 * @date 2015年4月17日
 * 
 */
public class AdListDTS extends DMObject implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    // 广告编号
    private Integer id;
    // 广告类型,1课程列表页广告,2课详页广告
    private Integer adType = 1;
    // 广告标题
    private String adTitle = "";
    // 广告描述
    private String adDes = "";
    // 图片地址
    private String adImage = "";
    // 链接url
    private String adUrl;
    // 是否分享,0不分享,1分享
    private Integer isShare = 1;
    // 位置信息,1号位,2号位...
    private Integer positionId = 0;
    // (预留)省份id
    private Integer provinceId;
    // (预留)城市id
    private Integer cityId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAdType() {
        return adType;
    }

    public void setAdType(Integer adType) {
        this.adType = adType;
    }

    public String getAdTitle() {
        return adTitle;
    }

    public void setAdTitle(String adTitle) {
        this.adTitle = adTitle;
    }

    public String getAdDes() {
        return adDes;
    }

    public void setAdDes(String adDes) {
        this.adDes = adDes;
    }

    public String getAdImage() {
        return adImage;
    }

    public void setAdImage(String adImage) {
        this.adImage = adImage;
    }

    public String getAdUrl() {
        return adUrl;
    }

    public void setAdUrl(String adUrl) {
        this.adUrl = adUrl;
    }

    public Integer getIsShare() {
        return isShare;
    }

    public void setIsShare(Integer isShare) {
        this.isShare = isShare;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    @Override
    public String toString() {
        return "{\"id\":\"" + id + "\", \"adType\":\"" + adType + "\", \"adTitle\":\"" + adTitle + "\", \"adDes\":\"" + adDes + "\", \"adImage\":\"" + adImage
                + "\", \"adUrl\":\"" + adUrl + "\", \"isShare\":\"" + isShare + "\", \"positionId\":\"" + positionId + "\", \"provinceId\":\"" + provinceId
                + "\", \"cityId\":\"" + cityId + "\"}";
    }

}